package com.qhs.sys.entity;

import java.io.Serializable;
import java.security.Timestamp;

/**
 * Created by xinchao on 2017/3/3 0003.
 */
public class TokenBean implements Serializable {

    private Long empId;
    private String token;
    private Long timestamp;
    private String deviceToken;//设备id
    private String deviceType; // 登录设备ios andriod

    public TokenBean(){
    }

    public TokenBean(Long empId,String token,Long timestamp,String deviceToken,String deviceType){
        this.empId = empId;
        this.token = token;
        this.timestamp = timestamp;
        this.deviceToken = deviceToken;
        this.deviceType = deviceType;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
